#pragma once
#include <memory>
#include "source/Source.h"
namespace Media{
    class OutputSource:public Source{
    public:
        using Ptr = std::shared_ptr<OutputSource>;
        using OutputSourceId = uint32_t;
        OutputSource(SourceInterfaceEnum iEnum, SourceMediaType mType, std::string content, bool isCustom);
        ~OutputSource() override;

        virtual bool Start() = 0;
        virtual bool Stop() = 0;
        virtual bool InputPacket(const FrameCommon::Frame::Ptr& frame) = 0;
        virtual bool InputFrame(void* frame) = 0;
    };
}